<?php
/**
 * System_Model_ResourceParam
 *
 * @author mmxie
 * @copyright Copyright (c) 2009 Green Shore (http://www.iwgame.com)
 * @version $Id: ResourceParam.php 906 2011-10-20 02:38:33Z mmxie $
 */
class System_Model_ResourceParam extends IG_Model
{

    protected $_data = array(
        'resource_id' => null,
        'role_id' => null,
        'param_key' => null,
        'param_value' => null,
    );



    /**
     * @param int $value
     * @return System_Model_ResourceParam
     */
    public function setResourceId($value)
    {
        $this->resource_id = (int) $value;
        return $this;
    }

    public function getResourceId()
    {
        return $this->resource_id;
    }

    /**
     * @param int $value
     * @return System_Model_ResourceParam
     */
    public function setRoleId($value)
    {
        $this->role_id = (int) $value;
        return $this;
    }

    public function getRoleId()
    {
        return $this->role_id;
    }

    /**
     * @param string $value
     * @return System_Model_ResourceParam
     */
    public function setParamKey($value)
    {
        $this->param_key =  $value;
        return $this;
    }

    public function getParamKey()
    {
        return $this->param_key;
    }

    /**
     * @param int $value
     * @return System_Model_ResourceParam
     */
    public function setParamValue($value)
    {
        $this->param_value = (int) $value;
        return $this;
    }

    public function getParamValue()
    {
        return $this->param_value;
    }

}